import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from "axios";
import './plugins/vant'

Vue.config.productionTip = false
axios.defaults.baseURL="http://localhost:8100/orderSystem"
Vue.prototype.$http=axios

Vue.prototype.$bus=new Vue({
  router,
  store,
  render: h => h(App),
  beforeCreate(){
    Vue.prototype.$bus=this;

  }
}).$mount('#app')
